﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DreamCube.Foundation.Basic.Utility;

namespace DreamCube.Websites.LogWeb.Pages
{
    public partial class OpenLogPath : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                String logFilePath = Request.QueryString["logPath"];
                MyCMD.OpenFolder(logFilePath);
            }
            catch (Exception ex)
            {
                Response.Write("清除日志出错：" + ex.Message);
            }
            finally
            {
                Response.End();
            }
        }
    }
}